class AICouponModel {
  String? createTime;
  String? expiredTime;
  String? goodsDesc;
  String? goodsName;
  String? goodsOrigin;
  int? goodsType;
  int? goodsValue;
  String? id;
  int? status;
  int? uid;
  String? useTime;

  AICouponModel(
      {this.createTime,
      this.expiredTime,
      this.goodsDesc,
      this.goodsName,
      this.goodsOrigin,
      this.goodsType,
      this.goodsValue,
      this.id,
      this.status,
      this.uid,
      this.useTime});

  AICouponModel.fromJson(Map<String, dynamic> json) {
    createTime = json['createTime'];
    expiredTime = json['expiredTime'];
    goodsDesc = json['goodsDesc'];
    goodsName = json['goodsName'];
    goodsOrigin = json['goodsOrigin'];
    goodsType = json['goodsType'];
    goodsValue = json['goodsValue'];
    id = json['id'];
    status = json['status'];
    uid = json['uid'];
    useTime = json['useTime'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['createTime'] = this.createTime;
    data['expiredTime'] = this.expiredTime;
    data['goodsDesc'] = this.goodsDesc;
    data['goodsName'] = this.goodsName;
    data['goodsOrigin'] = this.goodsOrigin;
    data['goodsType'] = this.goodsType;
    data['goodsValue'] = this.goodsValue;
    data['id'] = this.id;
    data['status'] = this.status;
    data['uid'] = this.uid;
    data['useTime'] = this.useTime;
    return data;
  }
}
